//角色基类
module.exports = function(chair) {
	this.chair = chair
	//角色行动
	this.action = function(type,target) {

	}
	//获取自身信息
	this.getRoleInfo = function() {
		// body...
	}
	//获取公开数据
	this.getPublicInfo = function() {
		var info = {
			survive : this.survive,
			votePower : this.votePower,
			showRole : this.showRole
		}
		return info
	}
}